#

| Chapter 2 UNIX Commands |

## timex

    timex [options] command [arguments]

Execute a `command` with optional `arguments` and print information specified by the time command. Report process data with various options.

### Options

-o

  Show total number of blocks and characters used.

-p `suboptions`

  Show process accounting data with possible `suboptions`.

-s

  Show total system activity (similar to output from the sar command).

### Suboptions for -p

-f

  Include fork/exit flag and system exit status.

-h

  Show "hog" factor (fraction of CPU time used) instead of mean memory size.

-k

  Show total kcore-minutes instead of memory size.

-m

  Show mean core size (this is the default behavior).

-r

  Show CPU use computation.

-t

  Show user and system CPU times.

Reference: time |  | Reference: touch